﻿using System.Windows.Forms;

namespace SleepManagement.Controllers
{
    public interface IAnnoyingManager
    {
        void Process();
    }

    public class AnnoyingManager : IAnnoyingManager
    {
        public void Process()
        {
            CustomLogManager.LogMessage("Try to show form");
            var form = new Form
                {
                    Visible = true,

                    Top = 50,
                    Left = 50,

                    Width = 160,
                    Height = 100,

                    Text = "Hello"
                };
            form.Show();
        }
    }
}
